package com.example.demo.service;

import com.example.demo.entity.StudentInfo;
import com.example.demo.vo.StudentClassInfo;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentInfoService {


    List<StudentClassInfo> getAllClassByclsAndName(String stuName, Integer clsid);
    Integer deleteStuById(Integer id);
    List<StudentInfo> getAllStudentInfo(String name);
    List<StudentClassInfo> getAllStuAndClassByName(String stuName);
    Integer deleteByID(Integer stuid);
    Integer insertStudentInfo(StudentInfo studentInfo);
    Integer updateStudentInfo(StudentInfo studentInfo);
    PageInfo<StudentClassInfo> getPageStudentInfoClassInfo(int pageNum, int pageSize);
}